package com.hs.teachsystem.enumConfig;

/**
 * Created by MaiBenBen on 2017/7/15.
 */
public enum UserState {
    ONLINE{
        public String getDesc(){
            return "在线";
        }
    },
    OFFLINE{
        public String getDesc(){
            return "离线";
        }
    },
    NOTACTIVE{
        public String getDesc(){
            return "未激活";
        }
    }
    ;
    public abstract String getDesc();
    public String getName(){
        return this.name();
    }
}
